
#ifndef SLIDERHANDLER_H
#define SLIDERHANDLER_H

#include <BSphereHandler>
#include <BSliderConstraint>
#include <BTextual>

using namespace BWE;

class SliderHandler : public BSphereHandler
{
public:
	SliderHandler();
	~SliderHandler();

protected:
	virtual void attached(BViewer* viewer);
	virtual void detached(BViewer* viewer);

	virtual void paint(BPainter& painter);
	virtual void render(BRender& render);

protected:
	BHolder<BNode>				_nodeA;
	BHolder<BNode>				_nodeB;
	BHolder<BSliderConstraint>	_sliderConstraint;
	BHolder<BTextual>			_lengthText;

};

#endif

